package cn.tedu.pojo.entiry;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author Justin Parker
 * @Date 2024/8/8 0008 9:59
 * @Version 1.0
 */
@Data
public class User {
    @ApiModelProperty(value = "用户编号",required = true,example = "1")
    private Integer id;
    @ApiModelProperty(value = "用户名",required = true,example = "admin")
    private String username;
    @ApiModelProperty(value = "用户密码",required = true,example = "123456")
    private String password;
    @ApiModelProperty(value = "用户昵称",required = true,example = "管理员")
    private String nickname;
    @ApiModelProperty(value = "用户创建时间",required = true,example = "2024/08/08 00:00:00")
    private Date created;
}
